package work.atpgroup.entity;

import org.springframework.web.multipart.MultipartFile;

public class WebPage {
    private Integer id;
    private Integer userId;
    private String title;
    private Integer cssId;
    private Integer jsId;
    private String content;
    private String publicCssPath;
    private String publicJsPath;
    private MultipartFile cssFile;
    private MultipartFile jsFile;

    public MultipartFile getCssFile() {
        return cssFile;
    }

    public MultipartFile getJsFile() {
        return jsFile;
    }

    public void setJsFile(MultipartFile jsFile) {
        this.jsFile = jsFile;
    }

    public void setCssFile(MultipartFile cssFile) {
        this.cssFile = cssFile;
    }

    public String getPublicCssPath() {
        return publicCssPath;
    }

    public void setPublicCssPath(String publicCssPath) {
        this.publicCssPath = publicCssPath;
    }

    public String getPublicJsPath() {
        return publicJsPath;
    }

    public void setPublicJsPath(String publicJsPath) {
        this.publicJsPath = publicJsPath;
    }

    private Boolean status;
    private String uri;

    public String getUri() {
        return uri;
    }

    public void setUri(String uri) {
        this.uri = uri;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public Boolean getStatus() {
        return status;
    }

    public void setStatus(Boolean status) {
        this.status = status;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getCssId() {
        return cssId;
    }

    public void setCssId(Integer cssId) {
        this.cssId = cssId;
    }

    public Integer getJsId() {
        return jsId;
    }

    public void setJsId(Integer jsId) {
        this.jsId = jsId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public String toString() {
        return "WebPage{" +
                "id=" + id +
                ", userId=" + userId +
                ", title='" + title + '\'' +
                ", cssId=" + cssId +
                ", jsId=" + jsId +
                ", content='" + content + '\'' +
                ", status=" + status +
                ", uri='" + uri + '\'' +
                '}';
    }
}
